﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FormComment.ascx.cs" Inherits="user_FormComment" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<table style="width: 750px;" cellpadding="50px">
    <tr>
        <td>
            <h4 style="color: Red">
                YOUR COMMENT
            </h4>
        </td>
        <td>
            <asp:TextBox ID="txtTitle" runat="server" Width="180px"></asp:TextBox>
            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server"
                TargetControlID="txtTitle" WatermarkCssClass="watermarked" WatermarkText="Title">
            </ajaxToolkit:TextBoxWatermarkExtender>
            <asp:requiredfieldvalidator id="requiredfieldvalidator1" runat="server" 
                controltovalidate="txttitle" display="none" errormessage="please enter title" 
                setfocusonerror="true"></asp:requiredfieldvalidator>
            <ajaxtoolkit:validatorcalloutextender id="validatorcalloutextender1" 
                runat="server" targetcontrolid="requiredfieldvalidator1">
            </ajaxtoolkit:validatorcalloutextender> 
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
        <td colspan="3">
            <br />
            <asp:TextBox ID="txtContent" runat="server" Height="66px" TextMode="MultiLine" Width="596px"></asp:TextBox>
            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server"
                TargetControlID="txtContent" WatermarkCssClass="watermarked" WatermarkText="Please input content">
            </ajaxToolkit:TextBoxWatermarkExtender>
           
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;
        </td>
        <td>
            <asp:Button ID="btnSubmitComment" runat="server" OnClick="btnSubmitComment_Click"
                Text="Submit" style="height: 26px" />
        </td>
        <td>
            &nbsp;
        </td>
        <td>
            &nbsp;
        </td>
    </tr>
</table>
